<template>
        <div>
                <h4>h页面</h4>
                <div class="page9">
                        <div>
                                home: {{route}}
                        </div>
                </div>
        </div>
</template>
    
<script setup lang='ts'>
    import { useRoute } from 'vue-router';
import router from '../../router/index';
    const route = useRoute();
    console.log('route-a:', route);
</script>
    
<style lang="less" scope>
        .page9 {
                width: 100%;
                height: 500px;
                background-color: rgba(30, 255, 0, 0.803);
        }
</style>